package com.shopnight.socketVo;

import lombok.Data;

import java.util.Date;

@Data
public class MessageVo {
    private  Integer id;
    private Integer userId;
    private String userNick;
    private String avatar;
    private Integer roomId;
    private String message;
    private Integer type;
    private Long duration;
    private Date releaseTime;
    private Integer fatherId;

    private fatherMessageVo fatherMessageVo;

    @Data
    public static class fatherMessageVo{
        private Integer id;
        private Integer userId;
        private String userNick;

        private String message;
        private Integer type;
        private Long duration;
    }

}
